package com.hmdp.constants;

public class RedisConstants {
    public static final String LOGIN_CODE_KEY  = "login:code:";
    public static final long LOGIN_CODE_TTL  = 2L;
    public static final String LOGIN_USER_KEY  = "login:user:";
    public static final long LOGIN_USER_TTL  = 360L;

    public static final String CACHE_SHOP_KEY = "cache:shop:";
    public static final long CACHE_SHOP_TTL = 360L;

    public static final String CACHE_SHOP_LIST_KEY = "cache:shopList:";
    public static final String CACHE_SHOP_TYPE_LIST_KEY = "cache:shop:list";
    public static final Long CACHE_NULL_TTL = 2L;
    public static final String CACHE_VOUCHER_KILL_STOCK = "cache:voucher_kill_stock:";
    public static final String CACHE_VOUCHER_KILL_USERS = "cache:voucher_kill_users:";

    public static final String LOCK_KEY = "lock:";
    public static final String LOCK_REDISSON_KEY = "lock:redisson";



    public static final String BLOG_LIKED_KEY = "cache:blog_liked:";
    public static final String USER_FOLLOW_KEY = "cache:user_follow:";
    public static final String FOLLOW_BLOG_KEY = "cache:follow_blog:";

    public static final String SHOP_GEO_KEY = "cache:shop_geo:";
    public static final String USER_SIGN_KEY = "cache:sign:";
}
